﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SRB.Tg.Model
{
    #region 墩柱构造数字模型
    public class PierPara
    {
        public string No { get; set; }

        public string name { get; set; }

        public string Location { get; set; }


        public double pier_height { get; set; }
        public double h1 { get; set; }
        public double h2 { get; set; }
        public double h3 { get; set; }
        public double h4 { get; set; }

        public double pile_height { get; set; }
        public double beam_w { get; set; }
        public double beam_l { get; set; }

        public busi_beam_structural beam { get; set; }

        public busi_pier_body_structural column { get; set; }

        public busi_pile_cap_structural pileCap { get; set; }

        public busi_pile_structural pile { get; set; }

        public PierRebarPara  pierRebar{ get; set; }

        public PierRebarParaOld pierRebarOld { get; set; }

        public PierBeamRebarPara beamRebar { get; set; }

        public bool is_transition_pier { get; set; }

        public double mid_line_distance { get; set; }
    }

    public class busi_beam_structural
    {
        public string id { get; set; }
        /// <summary>
        /// 挡块长
        /// </summary>
        public double block_w { get; set; }
        /// <summary>
        /// 挡块高
        /// </summary>
        public double block_h { get; set; }
        /// <summary>
        /// 盖梁侧
        /// </summary>
        public double beam_h { get; set; }
        /// <summary>
        /// 盖梁底两侧
        /// </summary>
        public double beam_w { get; set; }
        /// <summary>
        /// 横桥向盖梁底和墩距离
        /// </summary>
        public double kw { get; set; }
        /// <summary>
        /// 顺桥向盖梁底和墩距离
        /// </summary>
        public double kl { get; set; }
        /// <summary>
        /// 横桥向坡度
        /// </summary>
        public double slopew { get; set; }
        /// <summary>
        /// 顺桥向坡度
        /// </summary>
        public double slopel { get; set; }
    }

    public class busi_pier_body_structural
    {
        public string id { get; set; }
        /// <summary>
        /// 横桥向墩两端空心倒角
        /// </summary>
        public string section_w_ang { get; set; }
        /// <summary>
        /// 顺桥向墩两端空心倒角
        /// </summary>
        public string section_l_ang { get; set; }
        /// <summary>
        /// 横桥向墩中间空心倒角
        /// </summary>
        public string section_mid_w_ang { get; set; }
        /// <summary>
        /// 顺桥向墩中间空心倒角
        /// </summary>
        public string section_mid_l_ang { get; set; }
        /// <summary>
        /// 外轮廓倒角
        /// </summary>
        public string out_section_ang { get; set; }
        /// <summary>
        /// 内轮廓倒角
        /// </summary>
        public string inner_section_ang { get; set; }
        /// <summary>
        /// 墩顶实心段
        /// </summary>
        public double top_solid_h { get; set; }
 
        /// <summary>
        /// 墩顶实心段
        /// </summary>
        public double bottom_solid_h { get; set; }

        /// <summary>
        /// 壁厚从低到高
        /// </summary>
        public int top_thickness { get; set; }

        /// <summary>
        /// 墩顶尺寸:横桥向
        /// </summary>
        public double top_w { get; set; }
        /// <summary>
        /// 墩顶尺寸:顺桥向
        /// </summary>
        public double top_l { get; set; }
        /// <summary>
        /// 边坡:横桥向
        /// </summary>
        public double slope_w { get; set; }
        /// <summary>
        /// 边坡:顺桥向
        /// </summary>
        public double slope_l { get; set; }
        /// <summary>
        ///横桥向挡块尺寸：长*厚度
        /// </summary>
        public string bulkhead_size_w { get; set; }

        /// <summary>
        /// 顺桥向挡块尺寸度:长*厚度
        /// </summary>
        public string bulkhead_size_l { get; set; }
    }

    public class busi_pile_cap_structural
    {
        public string id { get; set; }
        /// <summary>
        /// 横桥向长
        /// </summary>
        public double pile_cap_width { get; set; }
        /// <summary>
        /// 顺桥向长
        /// </summary>
        public double pile_cap_length { get; set; }

        public double pile_cap_height { get; set; }
    }

    public class busi_pile_structural
    {
        public string id { get; set; }
        /// <summary>
        /// 横桥向桩分布
        /// </summary>
        public string span_w { get; set; }
        /// <summary>
        /// 顺桥向桩分布
        /// </summary>
        public string span_l { get; set; }
        /// <summary>
        /// 深入承台长度
        /// </summary>
        public double depth { get; set; }
        /// <summary>
        /// 桩径
        /// </summary>
        public double dia { get; set; }
        /// <summary>
        /// 是否添加护筒
        /// </summary>
        public string is_add_steel_casing{ get; set; }
        /// <summary>
        /// 护筒长度(m)
        /// </summary>
        public double steel_casing_length { get; set; }
        /// <summary>
        /// 护筒厚度(cm)
        /// </summary>
        public double steel_casing_thickness { get; set; }

    }
    #endregion

    #region 桩基钢筋数字模型
    public class PileRebarPara
    {
        /// <summary>
        /// ID
        /// </summary>
        public string id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string configure_name { get; set; }

        public int project_type { get; set; }
        /// <summary>
        /// 关联墩柱名称
        /// </summary>
        public string pier_name { get; set; }
        /// <summary>
        /// 桩长
        /// </summary>
        public double pile_length { get; set; }
        /// <summary>
        /// 桩径
        /// </summary>
        public double pile_diameter { get; set; }
        /// <summary>
        /// 上部结构
        /// </summary>
        public string top_size { get; set; }
        /// <summary>
        /// 下部结构
        /// </summary>
        public string bottom_size { get; set; }
        ///// <summary>
        /////  标准间距
        ///// </summary>
        //public double standard_spacing { get; set; }
        /// <summary>
        ///  离底高度
        /// </summary>
        public double bottom_distance { get; set; }
        /// <summary>
        /// 桩基伸入深度
        /// </summary>
        public double pile_penetration_depth { get; set; }
        /// <summary>
        /// 截面库
        /// </summary>
        public string concrete_no { get; set; }

        /// <summary>
        /// 保护层
        /// </summary>
        public double pier_protect_layer { get; set; }

        /// <summary>
        /// 主钢筋等级
        /// </summary>
        public string main_reinforcement_grade { get; set; }
        /// <summary>
        /// 钢筋等级
        /// </summary>
        public string reinforcement_grade { get; set; }

        /// <summary>
        /// 结构个数
        /// </summary>
        public int structure_number { get; set; }
        /// <summary>
        /// 主筋直径
        /// </summary>
        public eDB main_reinforcement_diameter { get; set; }

        /// <summary>
        /// 主筋根数
        /// </summary>
        public int main_reinforcement_number { get; set; }
        /// <summary>
        /// 螺旋钢筋直径
        /// </summary>
        public eDB spiral_reinforcement_diameter { get; set; }
        /// <summary>
        ///顶部加密长度 
        /// </summary>
        public double top_encryption_length { get; set; }
        /// <summary>
        ///  顶部加密钢筋间距
        /// </summary>
        public double top_encryption_spacing { get; set; }
        /// <summary>
        ///中间加密长度 
        /// </summary>
        public double middle_encryption_length { get; set; }
        /// <summary>
        ///  中间加密钢筋间距
        /// </summary>
        public double middle_encryption_spacing { get; set; }
        /// <summary>
        ///底部加密长度 
        /// </summary>
        public double bottom_encryption_length { get; set; }
        /// <summary>
        ///  底部加密钢筋间距
        /// </summary>
        public double bottom_encryption_spacing { get; set; }
        /// <summary>
        /// 圆形加强钢筋直径
        /// </summary>
        public eDB outer_strengthen_reinforcement_diameter { get; set; }
        /// <summary>
        /// 圆形加强钢筋间距
        /// </summary>
        public double outer_strengthen_reinforcement_spacing { get; set; }
        /// <summary>
        ///  三角加强钢筋直径
        /// </summary>
        public eDB inner_strengthen_reinforcement_diameter { get; set; }
        /// <summary>
        /// 三角加强钢筋数量
        /// </summary>
        public int inner_strengthen_reinforcement_num { get; set; }
        /// <summary>
        /// 顶层钢筋直径
        /// </summary>
        public eDB top_reinforcement_diameter { get; set; }
        /// <summary>
        ///  顶层钢筋根数
        /// </summary>
        public int top_reinforcement_number { get; set; }
        /// <summary>
        ///  声测管数量
        /// </summary>
        public int acoustic_tube_number { get; set; }
        /// <summary>
        ///  声测管类型
        /// </summary>
        public string acoustic_tube_type { get; set; }
        /// <summary>
        ///  声测管超出值
        /// </summary>
        public double acoustic_tube_length { get; set; }

        public bool is_out_double_layout { get; set; }

        public double out_length { get; set; }

        public string pile_type { get; set; }

        public double Depth { get; set; }

        /// <summary>
        /// 是否添加护筒
        /// </summary>
        public string is_add_steel_casing { get; set; }
        /// <summary>
        /// 护筒长度(m)
        /// </summary>
        public double steel_casing_length { get; set; }
        /// <summary>
        /// 护筒厚度(cm)
        /// </summary>
        public double steel_casing_thickness { get; set; }

        public string pile_name { get; set; }
    }
    #endregion

    #region 承台钢筋数字模型
    public class PileCapRebarPara
    {
        /// <summary>
        /// ID
        /// </summary>
        public string id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string configure_name { get; set; }
        /// <summary>
        /// 关联墩柱名称
        /// </summary>
        public string pier_name { get; set; }
        /// <summary>
        /// 横桥向宽度
        /// </summary>
        public double width { get; set; }
        /// <summary>
        /// 顺桥向长度
        /// </summary>
        public double length { get; set; }
        /// <summary>
        /// 高
        /// </summary>
        public double  height { get; set; }

        /// <summary>
        /// 混凝土强度
        /// </summary>
        public string concrete_no { get; set; }

        /// <summary>
        /// 主筋钢筋等级
        /// </summary>
        public string main_reinforcement_grade { get; set; }
        /// <summary>
        /// 钢筋等级
        /// </summary>
        public string reinforcement_grade { get; set; }

        /// <summary>
        /// 保护层厚度
        /// </summary>
        public double concrete_protect_layer { get; set; }
        /// <summary>
        /// 结构个数
        /// </summary>
        public int structure_number { get; set; }
        /// <summary>
        ///  顶层顺桥向直径
        /// </summary>
        public eDB top_l_reinforcement_diameter { get; set; }

        /// <summary>
        /// 顶层顺桥向间距
        /// </summary>
        public double top_l_reinforcement_spacing { get; set; }

        /// <summary>
        /// 顶层横桥向钢筋直径
        /// </summary>
        public eDB top_w_reinforcement_diameter { get; set; }

        /// <summary>
        /// 顶层横桥向间距
        /// </summary>
        public double top_w_reinforcement_spacing { get; set; }

        /// <summary>
        /// 顶层钢筋层数
        /// </summary>
        public int top_reinforcement_layers_number { get; set; }

        /// <summary>
        /// 顶层钢筋层间距
        /// </summary>
        public double top_reinforcement_layers_spacing { get; set; }

        /// <summary>
        ///  底层顺桥向直径
        /// </summary>
        public eDB bottom_l_reinforcement_diameter { get; set; }

        /// <summary>
        /// 底层顺桥向间距
        /// </summary>
        public double bottom_l_reinforcement_spacing { get; set; }

        /// <summary>
        /// 底层横桥向钢筋直径
        /// </summary>
        public eDB bottom_w_reinforcement_diameter { get; set; }

        /// <summary>
        /// 底层横桥向间距
        /// </summary>
        public double bottom_w_reinforcement_spacing { get; set; }

        /// <summary>
        /// 底层钢筋层数
        /// </summary>
        public int bottom_reinforcement_layers_number { get; set; }

        /// <summary>
        /// 底层钢筋层间距
        /// </summary>
        public double bottom_reinforcement_layers_spacing { get; set; }


        /// <summary>
        /// 侧面顺桥向钢筋
        /// </summary>
        public eDB around_l_reinforcement_diameter { get; set; }

        /// <summary>
        /// 侧面横桥向钢筋
        /// </summary>
        public eDB around_w_reinforcement_diameter { get; set; }

        /// <summary>
        /// 侧面钢筋间距
        /// </summary>
        public double around_reinforcement_spacing { get; set; }


        /// <summary>
        /// 侧面竖向钢筋
        /// </summary>
        public eDB around_h_reinforcement_diameter { get; set; }

        /// <summary>
        /// 侧面竖向钢筋间距
        /// </summary>
        public double around_h_reinforcement_spacing { get; set; }

        /// <summary>
        /// 架立钢筋直径
        /// </summary>
        public eDB erection_reinforcement_diameter { get; set; }

        /// <summary>
        /// 架立钢筋顺桥向间距
        /// </summary>
        public double erection_reinforcement_l_spacing { get; set; }

        /// <summary>
        /// 架立钢筋横桥向间距
        /// </summary>
        public double erection_reinforcement_w_spacing { get; set; }

        public double erection_reinforcement_h_spacing { get; set; }


        /// <summary>
        /// 顺桥向钢筋网直径
        /// </summary>
        public eDB reinforcement_net_l_diameter { get; set; }

        /// <summary>
        /// 顺桥向钢筋网间距
        /// </summary>
        public double reinforcement_net_l_spacing { get; set; }


        /// <summary>
        /// 横桥向钢筋网直径
        /// </summary>
        public eDB reinforcement_net_w_diameter { get; set; }

        /// <summary>
        /// 横桥向钢筋网间距
        /// </summary>
        public double reinforcement_net_w_spacing { get; set; }

        /// <summary>
        /// 垫层厚度
        /// </summary>
        public double cushion_thickness { get; set; }
        /// <summary>
        /// 垫层出檐长度
        /// </summary>
        public double cushion_cornice_length { get; set; }
        /// <summary>
        /// 桩径
        /// </summary>
        public double pile_diameter { get; set; }
        /// <summary>
        /// 桩横桥向分布
        /// </summary>
        public string span_w { get; set; }
        /// <summary>
        /// 桩顺桥向分布
        /// </summary>
        public string span_l { get; set; }

    }
    #endregion

    #region 墩身钢筋参数
    public class PierRebarPara
    {
        /// <summary>
        /// ID
        /// </summary>
        public string id { get; set; }
        public string ColumnNo { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string configure_name { get; set; }
        /// <summary>
        /// 伸入盖梁长度
        /// </summary>
        public double beam_penetration_depth { get; set; }
        ///// <summary>
        ///// 伸入盖梁分布
        ///// </summary>
        //public string beam_penstration_layout { get; set; }
        /// <summary>
        /// 伸入承台长度
        /// </summary>
        public double pilecap_penetration_depth { get; set; }
        ///// <summary>
        ///// 伸入承台分布
        ///// </summary>
        //public string pilecap_penetration_layout { get; set; }
        /// <summary>
        /// 混凝土强度
        /// </summary>
        public string concrete_no { get; set; }

        /// <summary>
        /// 主筋钢筋等级
        /// </summary>
        public string main_reinforcement_grade { get; set; }
        /// <summary>
        /// 钢筋等级
        /// </summary>
        public string reinforcement_grade { get; set; }
        /// <summary>
        /// 保护层厚度
        /// </summary>
        public double pier_protect_layer { get; set; }
        /// <summary>
        /// 内保护层厚度
        /// </summary>
        public double concrete_protect_layer { get; set; }

        /// <summary>
        /// 主筋直径
        /// </summary>
        public eDB main_reinforcement_diameter { get; set; }

        /// <summary>
        /// 内主筋直径
        /// </summary>
        public eDB inner_main_reinforcement_diameter { get; set; }
        /// <summary>
        /// 横桥向主筋间距
        /// </summary>
        public double main_w_space { get; set; }
        /// <summary>
        /// 顺桥向主筋间距
        /// </summary>
        public double main_l_space { get; set; }

        /// <summary>
        /// 顺桥向渐变主筋分段
        /// </summary>
        public int main_l_change_num { get; set; }


        /// <summary>
        /// 水平方向钢筋直径
        /// </summary>
        public eDB pier_v_reinforcement_diameter { get; set; }

        /// <summary>
        /// 水平方向钢筋从承台起步高度
        /// </summary>
        public double pier_v_reinforcement_pilecap_depth { get; set; }
        /// <summary>
        /// 顶部加密高度
        /// </summary>
        public double top_encryption_length { get; set; }


        /// <summary>
        /// 顶部加密间距
        /// </summary>
        public double top_encryption_spacing { get; set; }

        /// <summary>
        /// 中部加密高度
        /// </summary>
        public double middle_encryption_length { get; set; }


        /// <summary>
        /// 中部加密间距
        /// </summary>
        public double middle_encryption_spacing { get; set; }


        /// <summary>
        /// 底部加密高度
        /// </summary>
        public double bottom_encryption_length { get; set; }


        /// <summary>
        /// 底部加密间距
        /// </summary>
        public double bottom_encryption_spacing { get; set; }

        /// <summary>
        /// 箍筋钢筋直径
        /// </summary>
        public eDB pier_stirrup_reinforcement_diameter { get; set; }

        /// <summary>
        /// 箍筋间距
        /// </summary>
        public int stirrup_count { get; set; }

        ///// <summary>
        ///// 横桥向实心段间距
        ///// </summary>
        //public double pier_solid_reinforcement_w_space { get; set; }

        ///// <summary>
        ///// 顺桥向实心段间距
        ///// </summary>
        //public double pier_solid_reinforcement_l_space { get; set; }

        /// <summary>
        /// 实心段钢筋网间距
        /// </summary>
        public double pier_solid_reinforcement_space { get; set; }
        /// <summary>
        /// 实心段钢筋直径
        /// </summary>
        public eDB pier_solid_reinforcement_diameter { get; set; }


        /// <summary>
        /// 倒角钢筋直径
        /// </summary>
        public eDB pier_angle_reinforcement_diameter { get; set; }

        public double pier_angle_reinforcement_space { get; set; }
        /// <summary>
        ///隔板钢筋直径
        /// </summary>
        public eDB pier_block_reinforcement_diameter { get; set; }


        /// <summary>
        /// 隔板保护层
        /// </summary>
        public double pier_block_protect_layer { get; set; }

        /// <summary>
        /// 隔板钢筋间距
        /// </summary>
        public double block_reinforcement_space { get; set; }


        /// <summary>
        /// 隔板横桥向人洞间距
        /// </summary>
        public double block_mid_space { get; set; }


        /// <summary>
        /// 是否外双
        /// </summary>
        public bool is_out_double { get; set; }

        /// <summary>
        /// 束筋长度
        /// </summary>
        public double tendon_length { get; set; }
    }

    public class PierRebarParaOld
    {
        /// <summary>
        /// ID
        /// </summary>
        public string id { get; set; }
        public string ColumnNo { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string configure_name { get; set; }
        /// <summary>
        /// 伸入盖梁长度
        /// </summary>
        public double beam_penetration_depth { get; set; }
        /// <summary>
        /// 伸入盖梁分布
        /// </summary>
        public string beam_penstration_layout { get; set; }
        /// <summary>
        /// 伸入承台长度
        /// </summary>
        public double pilecap_penetration_depth { get; set; }
        /// <summary>
        /// 伸入承台分布
        /// </summary>
        public string pilecap_penetration_layout { get; set; }
        /// <summary>
        /// 混凝土强度
        /// </summary>
        public string concrete_no { get; set; }

        /// <summary>
        /// 主筋钢筋等级
        /// </summary>
        public string main_reinforcement_grade { get; set; }
        /// <summary>
        /// 钢筋等级
        /// </summary>
        public string reinforcement_grade { get; set; }
        /// <summary>
        /// 保护层厚度
        /// </summary>
        public double pier_protect_layer { get; set; }
        /// <summary>
        /// 内保护层厚度
        /// </summary>
        public double concrete_protect_layer { get; set; }

        /// <summary>
        /// 主筋直径
        /// </summary>
        public eDB main_reinforcement_diameter { get; set; }

        ///// <summary>
        ///// 横桥向主筋间距
        ///// </summary>
        //public double main_w_space { get; set; }
        ///// <summary>
        ///// 顺桥向主筋间距
        ///// </summary>
        //public double main_l_space { get; set; }
        /// <summary>
        /// 横桥向主筋分布
        /// </summary>
        public string main_w_mid_layout { get; set; }

        /// <summary>
        /// 横桥向倒角位置主筋分布
        /// </summary>
        public string main_w_angle_layout { get; set; }


        /// <summary>
        /// 横桥向壁厚对应主筋分布
        /// </summary>
        public string main_w_thickness_layout { get; set; }

        /// <summary>
        /// 顺桥向主筋分布
        /// </summary>
        public string main_l_mid_layout { get; set; }


        /// <summary>
        /// 顺桥向壁厚对应主筋分布
        /// </summary>
        public string main_l_thickness_layout { get; set; }


        /// <summary>
        /// 顺桥向渐变主筋分段
        /// </summary>
        public int main_l_change_num { get; set; }


        /// <summary>
        /// 水平方向钢筋直径
        /// </summary>
        public eDB pier_v_reinforcement_diameter { get; set; }

        /// <summary>
        /// 水平方向钢筋从承台起步高度
        /// </summary>
        public double pier_v_reinforcement_pilecap_depth { get; set; }
        /// <summary>
        /// 顶部加密高度
        /// </summary>
        public double top_encryption_length { get; set; }


        /// <summary>
        /// 顶部加密间距
        /// </summary>
        public double top_encryption_spacing { get; set; }

        /// <summary>
        /// 中部加密高度
        /// </summary>
        public double middle_encryption_length { get; set; }


        /// <summary>
        /// 中部加密间距
        /// </summary>
        public double middle_encryption_spacing { get; set; }


        /// <summary>
        /// 底部加密高度
        /// </summary>
        public double bottom_encryption_length { get; set; }


        /// <summary>
        /// 底部加密间距
        /// </summary>
        public double bottom_encryption_spacing { get; set; }

        /// <summary>
        /// 箍筋间距
        /// </summary>
        public int stirrup_count { get; set; }

        /// <summary>
        /// 横桥向实心段间距
        /// </summary>
        public double pier_solid_reinforcement_w_space { get; set; }

        /// <summary>
        /// 顺桥向实心段间距
        /// </summary>
        public double pier_solid_reinforcement_l_space { get; set; }
        /// <summary>
        /// 实心段钢筋直径
        /// </summary>
        public eDB pier_solid_reinforcement_diameter { get; set; }


        /// <summary>
        /// 倒角钢筋直径
        /// </summary>
        public eDB pier_angle_reinforcement_diamete { get; set; }

        public double pier_angle_reinforcement_space { get; set; }
        /// <summary>
        ///隔板钢筋直径
        /// </summary>
        public eDB pier_block_reinforcement_diamete { get; set; }


        /// <summary>
        /// 隔板保护层
        /// </summary>
        public double pier_block_protect_layer { get; set; }

        /// <summary>
        /// 隔板钢筋间距
        /// </summary>
        public double block_reinforcement_space { get; set; }

        /// <summary>
        /// 隔板横桥向中间分布
        /// </summary>
        public string block_w_mid_layout { get; set; }

        /// <summary>
        /// 两端分布
        /// </summary>
        public string block_w_side_layout { get; set; }
    }
    #endregion

    #region 盖梁钢筋
    public class PierBeamRebarPara
    {
        /// <summary>
        /// ID
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string configure_name { get; set; }
        /// <summary>
        /// 关联墩柱名称
        /// </summary>
        public string pier_name { get; set; }
        /// <summary>
        /// 混凝土强度
        /// </summary>
        public string concrete_no { get; set; }
        /// <summary>
        /// 结构个数
        /// </summary>
        public int structure_number { get; set; }
        /// <summary>
        /// 主筋钢筋等级
        /// </summary>
        public string main_reinforcement_grade { get; set; }
        /// <summary>
        /// 钢筋等级
        /// </summary>
        public string reinforcement_grade { get; set; }

        /// <summary>
        /// 保护层厚度
        /// </summary>
        public double concrete_protect_layer { get; set; }

        /// <summary>
        /// 顶层主筋直径
        /// </summary>
        public eDB main_top_reinforcement_diameter { get; set; }
        /// <summary>
        /// 底层主筋直径
        /// </summary>
        public eDB main_bottom_reinforcement_diameter { get; set; }
        /// <summary>
        /// 主筋中间段间距	
        /// </summary>
        public double main_w_mid_space { get; set; }

        /// <summary>
        /// 加密段间距
        /// </summary>
        public double main_w_side_space { get; set; }

        /// <summary>
        /// 主筋中间段长度
        /// </summary>
        public double main_mid_length { get; set; }

        /// <summary>
        /// 水平架立筋直径
        /// </summary>
        public eDB erection_reinforcement_diameter { get; set; }

        /// <summary>
        /// 	架立钢筋间距
        /// </summary>
        public double erection_reinforcement_space { get; set; }

        /// <summary>
        /// 箍筋钢筋直径
        /// </summary>
        public eDB stirrup_reinforcement_diameter { get; set; }

        /// <summary>
        /// 箍筋间距
        /// </summary>
        public int stirrup_count { get; set; }

      
    }

    #endregion

    #region 垫石钢筋
    public class CushionStoneParameter
    {
        /// <summary>
        /// ID
        /// </summary>
        public string id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string structural_name { get; set; }


        /// <summary>
        /// 编码
        /// </summary>
        public string structural_code { get; set; }

        /// <summary>
        /// 钢筋编码
        /// </summary>
        public string steel_code { get; set; }


        /// <summary>
        /// 混凝土强度
        /// </summary>
        public string concrete_no { get; set; }


        /// <summary>
        /// 钢筋等级
        /// </summary>
        public string reinforcement_grade { get; set; }
        
        /// <summary>
        /// 横桥向宽度
        /// </summary>
        public double width { get; set; }
        /// <summary>
        /// 顺桥向长度
        /// </summary>
        public double length { get; set; }
        /// <summary>
        /// 高度
        /// </summary>
        public double height { get; set; }
        /// <summary>
        /// 顶部高度
        /// </summary>
        public double ref_height { get; set; }
        
        /// <summary>
        /// 保护层厚度
        /// </summary>
        public double concrete_protect_layer { get; set; }

        /// <summary>
        /// 保护层厚度
        /// </summary>
        public double concrete_top_protect_layer { get; set; }
        /// <summary>
        /// 结构个数
        /// </summary>
        public int structureNumber { get; set; }

        /// <summary>
        ///  顺桥向间隔
        /// </summary>
        public int sapceL { get; set; }
        /// <summary>
        ///  横桥向间隔
        /// </summary>
        public int sapceW { get; set; }

        /// <summary>
        /// 1号筋直径底层横向
        /// </summary>
        public eDB main_l_reinforcement_diameter { get; set; }
        /// <summary>
        /// 2号筋直径底层纵向向
        /// </summary>
        public eDB main_w_reinforcement_diameter { get; set; }
        /// <summary>
        /// 3号筋直径 钢筋网
        /// </summary>
        public eDB stirrup_reinforcement_diameter { get; set; }
        /// <summary>
        /// 主筋横向钢筋间距
        /// </summary>
        public int main_l_reinforcement_spacing { get; set; }
        /// <summary>
        ///  主筋纵向钢筋直径
        /// </summary>
        public int main_w_reinforcement_spacing { get; set; }
        /// <summary>
        /// 钢筋网间隔
        /// </summary>
        public int reinforcement_net_spacing { get; set; }

        /// <summary>
        /// 钢筋网间隔
        /// </summary>
        public double anchorage_length { get; set; }
        /// <summary>
        /// 钢筋网层数
        /// </summary>
        public int reinforcement_net_layers_number { get; set; }

        public string is_exist_stirrup { get; set; }
    }
    #endregion 
    public enum PierSubstructureType
    {
        Pier=0,
        PileRebar,
        PileCapRebar,
        PierRebar,
        BeamRebar,
        AbutmentPileRebar,
    }

    public enum BridgeStructureType
    {
        AviationBridge = 0,//机场桥
        BeamBridge,//梁式桥
    }
}
